/**
 * 
 */
package net.toocruel.iqismart.dao.condition;

import net.toocruel.iqismart.entity.constants.UserStatus;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author toocruel
 *
 */
public class UserCondition {

	private String uid;
	private String username;
	private String email;
	private String mobile;
	private String usernameOrEmailOrMobile;
	private String dateRange;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private Date createdAtStart;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private Date createdAtEnd;
	private UserStatus status;

	public String getDateRange() {
		return dateRange;
	}

	public void setDateRange(String dateRange) {
		this.dateRange = dateRange;
	}

	public UserStatus getStatus() {
		return status;
	}

	public void setStatus(UserStatus status) {
		this.status = status;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getUsernameOrEmailOrMobile() {
		return usernameOrEmailOrMobile;
	}

	public void setUsernameOrEmailOrMobile(String usernameOrEmailOrMobile) {
		this.usernameOrEmailOrMobile = usernameOrEmailOrMobile;
	}

	public Date getCreatedAtStart() {
		return createdAtStart;
	}

	public void setCreatedAtStart(Date createdAtStart) {
		this.createdAtStart = createdAtStart;
	}

	public Date getCreatedAtEnd() {
		return createdAtEnd;
	}

	public void setCreatedAtEnd(Date createdAtEnd) {
		this.createdAtEnd = createdAtEnd;
	}
}
